@layout("../../system/layout.html", {title: "入库主表"}){
<table class="form" id="form" xmlns:v-bind="http://www.w3.org/1999/xhtml>">
    <tr>
        <td class="formTitle">入库单号</td>
        <td class="formValue">
            <input type="text" readonly class="form-control" placeholder="入库单号" v-model="inBound.inBoundNumber">
        </td>
    </tr>
    <tr>
        <td class="formTitle">入库时间</td>
        <td class="formValue">
            <input type="text" readonly class="form-control" placeholder="入库时间" v-model="inBound.inBoundTime">
        </td>
    </tr>
    <tr>
        <td class="formTitle">供应商<font face="宋体">*</font></td>
        <td class="formValue">
            <select v-model="inBound.supplier" class="form-control" placeholder="供应商" isvalid="yes" checkexpession="NotNull">
                <option v-for="option in optionsSupplier" v-bind:value="option.macroId">
                    {{ option.name }}
                </option>
            </select>
        </td>
    </tr>
    <tr>
        <td class="formTitle">入库类型<font face="宋体">*</font></td>

        <td class="formValue">
            <select v-model="inBound.inTypeCode" class="form-control" placeholder="入库类型" isvalid="yes" checkexpession="NotNull">
                <option v-for="option in optionsInType" v-bind:value="option.macroId">
                    {{ option.name }}
                </option>
            </select>
        </td>

    </tr>
    <tr>
        <td class="formTitle">入库库房<font face="宋体">*</font></td>
        <td class="formValue">
            <select v-model="inBound.inDeptCode" class="form-control" placeholder="入库库房" isvalid="yes" checkexpession="NotNull">
                <option v-for="option in optionsInDept" v-bind:value="option.macroId">
                    {{ option.name }}
                </option>
            </select>
        </td>
    </tr>
    <tr>
        <td class="formTitle">入库项目<font face="宋体">*</font></td>

        <td class="formValue">
            <select v-model="inBound.inItemCode" class="form-control" placeholder="入库项目" isvalid="yes" checkexpession="NotNull">
                <option v-for="option in optionsInItem" v-bind:value="option.macroId">
                    {{ option.name }}
                </option>
            </select>
        </td>
    </tr>
    <tr>
        <td class="formTitle">金额<font face="宋体">*</font></td>
        <td class="formValue">
            <input type="text" readonly class="form-control" placeholder="金额" v-model="inBound.amount" isvalid="yes" checkexpession="NotNull">
        </td>
    </tr>
    <tr>
        <td class="formTitle">入库人<font face="宋体">*</font></td>
        <td class="formValue">
            <input type="text" readonly class="form-control" placeholder="入库人" v-model="inBound.inBoundPeople" isvalid="yes" checkexpession="NotNull">
        </td>
    </tr>
</table>
<script src="${ctxPath}/static/js/base/inbound/edit.js"></script>
@}